package framework.snowflake;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "sys.snowflake")
public class SnowflakeConfig {
    private Long worker = 0L;
    private Long center = 0L;
    private Long length = 16L;
}
